aliase='temp'
storepass='hao123'
keypass='hao456'
keystore='temp.jks'

if [ ! -f $1 ]; then
	echo "$1 No such file"
	exit 1
fi

 jarsigner -verbose -digestalg SHA1 -sigalg MD5withRSA -keystore $keystore \
   -storepass $storepass -keypass $keypass -signedjar $2 $1 $aliase
